package com.tingyuge.base.design.brige.bridge;

/**
 * @Created by xiaodao
 */
public class Main {


    public static void main(String[] args) {
        Computer c = new Disktop(new Lenovo());
        c.sale();
        Computer c1 = new Laptop(new Lenovo());
        c1.sale();

        Computer c2 = new Laptop(new Dell());
        c2.sale();
    }

}
